package com.daimakuai.dao;

import com.daimakuai.entity.Admin;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author happyonion.yangtao
 * @Title: AdminDao
 * @ProjectName adminb-ehind
 * @PackageName com.daimakuai.dao
 * @Description TODO
 * @date Create at 2018/11/29 22:34
 */
@Repository
public interface AdminDao {

    public AdminDao getAdminById(String id);

    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    List<Admin> listForDirtyRead();
}
